﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.Store
{
    public partial class Store_Product : IStoreProduct
    {
        [Key]
        public int Id { get; set; }
        public string ArtNo { get; set; }
        public int Discount { get; set; }
        public int ItemsSold { get; set; }       
        public DateTime? CreationDate { get; set; }
        public bool IsFreeShiping { get; set; }
        public bool IsNew { get; set; }
        public bool IsOnSale { get; set; }
        public bool IsDownloadable { get; set; }
        public bool IsEnabled { get; set; }
        public string FriendlyUrl { get; set; }
        public int SortOrder { get; set; }

        public virtual ICollection<Store_ProductMainProperty> Store_ProductMainProperty { get; set; }
        public virtual ICollection<Store_ProductImage> Store_ProductImage { get; set; }
        public virtual ICollection<Store_PropertyValue2Product> Store_PropertyValue2Product { get; set; }
        public virtual ICollection<Store_Category2Product> Store_Category2Product { get; set; } 
    }
}
